Is it possible to create addins for link modules, i.e., to add a menu item to call a DXL script on an open link module? The addins folder (or -a command line argument) is only for formal modules.
UweR - Wed Jul 01 11:52:44 EDT 2015 |
Re: Addin for link modules? As far as I'm aware, the answer to your question is 'no.' I may be wrong, but I think your only option is to use the Edit DXL window from the Tools menu. Paste the code in there and run it. |
Re: Addin for link modules?
hi !
hmm ... of course you can ! To have a look to the createMenu and createItem functions in the help should be a good idea ;)
Enjoy ! |
Re: Addin for link modules? Lets invent our own variable "LinkModAddins" and corresponding "DOORSLINKMODADDINS" variables. [1] Create a link-mod addins directory sibling to your existing module addins directory; with suitable subdirectories and bla bla bla. Add this directory to your existing "addins" environment variable. [2] After debugging and you see this LinkMod menu in your formal module menus: [3] Remove that directory from your "addins" variable [4] Add that directory to the new variable "LinkModAddins" [5] In your lib\dxl\config\link.dxl file near the bottom:
[6] Viola. Of course, Catbert in IT won't let you edit the DOORS install directory anymore. -Louie |